package com.lxk.dao;

import com.lxk.pojo.GoodsCom;
import com.lxk.pojo.GoodsComExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsComMapper {
    long countByExample(GoodsComExample example);

    int deleteByExample(GoodsComExample example);

    int deleteByPrimaryKey(Integer goodsComId);

    int insert(GoodsCom record);

    int insertSelective(GoodsCom record);

    List<GoodsCom> selectByExample(GoodsComExample example);

    GoodsCom selectByPrimaryKey(Integer goodsComId);

    int updateByExampleSelective(@Param("record") GoodsCom record, @Param("example") GoodsComExample example);

    int updateByExample(@Param("record") GoodsCom record, @Param("example") GoodsComExample example);

    int updateByPrimaryKeySelective(GoodsCom record);

    int updateByPrimaryKey(GoodsCom record);
}